/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uniriotec.pm.trabalho2.util;

import uniriotec.pm.trabalho2.dao.DAOFactory;
import uniriotec.pm.trabalho2.dao.postgresql.PostgresqlDAOFactory;



/**
 *
 * @author fernandofot
 */
public class DAOUtil {

    private static final DAOFactory daoFactory = buildDAOFactory();

    private static DAOFactory buildDAOFactory() {
        return new PostgresqlDAOFactory();
    }

    public static DAOFactory getDAOFactory() {
        return daoFactory;
    }
}
